﻿<ion-view view-title="票据信息详情" cache-view="false" hide-back-button="false" ng-init="init()">
  <ion-content> 
    <section class="truck_line track_line-edit fill_info input_info">
      <ul>
        <li>
          <h4>名称</h4>
          <input type="text"  placeholder="请输入名称" ng-model="data.title" ng-disabled="data.waybill_state >= 5">
        </li>
        <li>
          <h4>纳税人识别号</h4>
          <input type="text" placeholder="请输入纳税人识别号" ng-model="data.tax_no" ng-disabled="data.waybill_state >= 5">
        </li>
        <li>
          <h4>公司地址/电话</h4>
          <input type="text" placeholder="请输入公司地址/电话" ng-model="data.recv_phone" ng-disabled="data.waybill_state >= 5">
        </li>
        <li>
          <h4>开户银行</h4>
          <input type="text" placeholder="请输入开户银行" ng-model="data.bank_of_deposit" ng-disabled="data.waybill_state >= 5">
        </li>
        <li>
          <h4>银行卡号</h4>
          <input type="text" placeholder="请输入银行卡号" ng-model="data.bank_card_no" ng-disabled="data.waybill_state >= 5">
        </li>
        <li>
          <h4>收件人/电话</h4>
          <input type="text" placeholder="请输入收件人/电话" ng-model="data.recv_name" ng-disabled="data.waybill_state >= 5">
        </li>        
        <li>
          <h4>邮寄地址</h4>
          <input type="text" placeholder="请输入邮寄地址" ng-model="data.post_addr" ng-disabled="data.waybill_state >= 5" style="width: {{addrwidth}}px">
        </li>
        <li>
          <h4>邮政编码</h4>
          <input type="text" placeholder="请输入邮政编码" ng-model="data.zip_code" ng-disabled="data.waybill_state >= 5">
        </li>
      </ul>
      <button class="btn_save" ng-click="submitAddr()" ng-if="data.waybill_state < 5 || !data.waybill_state">提 交</button>
    </section>
  </ion-content> 
</ion-view>
